.class public Lcom/xingbook/park/a/w;
.super Lcom/xingbook/park/a/a;


# instance fields
.field private f:Lcom/xingbook/audio/d/l;

.field private g:Lcom/xingbook/xingbook/d/l;

.field private h:Lcom/xingbook/audio/b/a;

.field private i:Lcom/xingbook/audio/b/a;

.field private j:Lcom/xingbook/park/ui/av;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;Lcom/xingbook/audio/d/l;Lcom/xingbook/xingbook/d/l;Lcom/xingbook/park/ui/av;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/xingbook/park/a/a;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V

    iput-object p1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/a/w;->c:Ljava/util/ArrayList;

    iput-object p3, p0, Lcom/xingbook/park/a/w;->f:Lcom/xingbook/audio/d/l;

    iput-object p4, p0, Lcom/xingbook/park/a/w;->g:Lcom/xingbook/xingbook/d/l;

    iput-object p5, p0, Lcom/xingbook/park/a/w;->j:Lcom/xingbook/park/ui/av;

    return-void
.end method


# virtual methods
.method public a(I)Lcom/xingbook/audio/b/a;
    .locals 1

    const/16 v0, 0x41

    invoke-static {v0}, Lcom/xingbook/c/t;->c(I)I

    move-result v0

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    :goto_0
    return-object v0

    :cond_0
    const/16 v0, 0x50

    invoke-static {v0}, Lcom/xingbook/c/t;->c(I)I

    move-result v0

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public a(IZ)Lcom/xingbook/park/c/a/n;
    .locals 6

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {p1}, Lcom/xingbook/c/t;->e(I)Z

    move-result v0

    invoke-static {p1}, Lcom/xingbook/c/t;->g(I)I

    move-result v1

    const/16 v2, 0x30

    if-ne p1, v2, :cond_1

    new-instance v0, Lcom/xingbook/xingbook/d/i;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    iget-object v3, p0, Lcom/xingbook/park/a/w;->g:Lcom/xingbook/xingbook/d/l;

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/xingbook/xingbook/d/i;-><init>(Landroid/content/Context;FLcom/xingbook/xingbook/d/l;Lcom/xingbook/park/ui/o;)V

    move-object v1, v0

    :goto_0
    if-eqz v1, :cond_0

    instance-of v0, v1, Lcom/xingbook/service/download/m;

    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/xingbook/park/a/w;->e:Ljava/util/ArrayList;

    new-instance v3, Ljava/lang/ref/WeakReference;

    move-object v0, v1

    check-cast v0, Lcom/xingbook/service/download/m;

    invoke-direct {v3, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    return-object v1

    :cond_1
    const/16 v2, 0x70

    if-ne p1, v2, :cond_2

    new-instance v0, Lcom/xingbook/huiben/b/b;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2}, Lcom/xingbook/huiben/b/b;-><init>(Landroid/app/Activity;F)V

    move-object v1, v0

    goto :goto_0

    :cond_2
    const/16 v2, 0x50

    if-ne p1, v2, :cond_3

    new-instance v0, Lcom/xingbook/audio/d/g;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    iget-object v3, p0, Lcom/xingbook/park/a/w;->f:Lcom/xingbook/audio/d/l;

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/audio/d/g;-><init>(Landroid/app/Activity;FLcom/xingbook/audio/d/l;Lcom/xingbook/park/ui/o;Z)V

    move-object v1, v0

    goto :goto_0

    :cond_3
    const/16 v2, 0x41

    if-ne p1, v2, :cond_4

    new-instance v0, Lcom/xingbook/audio/d/g;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    iget-object v3, p0, Lcom/xingbook/park/a/w;->f:Lcom/xingbook/audio/d/l;

    invoke-direct/range {v0 .. v5}, Lcom/xingbook/audio/d/g;-><init>(Landroid/app/Activity;FLcom/xingbook/audio/d/l;Lcom/xingbook/park/ui/o;Z)V

    move-object v1, v0

    goto :goto_0

    :cond_4
    const/16 v2, 0x42

    if-ne p1, v2, :cond_5

    new-instance v0, Lcom/xingbook/audio/d/e;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2}, Lcom/xingbook/audio/d/e;-><init>(Landroid/app/Activity;F)V

    move-object v1, v0

    goto :goto_0

    :cond_5
    const/16 v2, 0x60

    if-ne v1, v2, :cond_8

    if-eqz v0, :cond_6

    new-instance v0, Lcom/xingbook/cinema/c/d;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2, v5}, Lcom/xingbook/cinema/c/d;-><init>(Landroid/content/Context;FZ)V

    move-object v1, v0

    goto :goto_0

    :cond_6
    const/16 v0, 0x61

    if-ne p1, v0, :cond_7

    new-instance v0, Lcom/xingbook/cinema/c/b;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2, v5}, Lcom/xingbook/cinema/c/b;-><init>(Landroid/content/Context;FZ)V

    move-object v1, v0

    goto :goto_0

    :cond_7
    const/16 v0, 0x63

    if-ne p1, v0, :cond_a

    new-instance v0, Lcom/xingbook/cinema/c/e;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2, v5}, Lcom/xingbook/cinema/c/e;-><init>(Landroid/content/Context;FZ)V

    move-object v1, v0

    goto/16 :goto_0

    :cond_8
    const/16 v0, 0xc0

    if-ne p1, v0, :cond_9

    new-instance v0, Lcom/xingbook/park/ui/aw;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2}, Lcom/xingbook/park/ui/aw;-><init>(Landroid/app/Activity;F)V

    move-object v1, v0

    goto/16 :goto_0

    :cond_9
    const/16 v0, 0xd0

    if-ne p1, v0, :cond_a

    new-instance v0, Lcom/xingbook/baike/d/d;

    iget-object v1, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {v0, v1, v2}, Lcom/xingbook/baike/d/d;-><init>(Landroid/app/Activity;F)V

    move-object v1, v0

    goto/16 :goto_0

    :cond_a
    move-object v1, v4

    goto/16 :goto_0
.end method

.method public a()V
    .locals 4

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    iput-object v0, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-super {p0}, Lcom/xingbook/park/a/a;->a()V

    return-void

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    instance-of v0, v1, Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_0

    move-object v0, v1

    check-cast v0, Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v0

    const/16 v3, 0x41

    if-ne v0, v3, :cond_3

    iget-object v3, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    if-nez v3, :cond_2

    new-instance v3, Lcom/xingbook/audio/b/a;

    invoke-static {v0}, Lcom/xingbook/c/t;->c(I)I

    move-result v0

    invoke-direct {v3, v0}, Lcom/xingbook/audio/b/a;-><init>(I)V

    iput-object v3, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    invoke-static {}, Lcom/xingbook/audio/b/a;->e()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    const-string v3, "\u661f\u5b9d\u513f\u6b4c\u641c\u7d22\u5217\u8868"

    invoke-virtual {v0, v3}, Lcom/xingbook/audio/b/a;->b(Ljava/lang/String;)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/a/w;->h:Lcom/xingbook/audio/b/a;

    check-cast v1, Lcom/xingbook/audio/b/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/Object;)V

    goto :goto_0

    :cond_3
    const/16 v3, 0x50

    if-ne v0, v3, :cond_0

    iget-object v3, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    if-nez v3, :cond_4

    new-instance v3, Lcom/xingbook/audio/b/a;

    invoke-static {v0}, Lcom/xingbook/c/t;->c(I)I

    move-result v0

    invoke-direct {v3, v0}, Lcom/xingbook/audio/b/a;-><init>(I)V

    iput-object v3, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    invoke-static {}, Lcom/xingbook/audio/b/a;->b_()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    const-string v3, "\u661f\u5b9d\u542c\u542c\u641c\u7d22\u5217\u8868"

    invoke-virtual {v0, v3}, Lcom/xingbook/audio/b/a;->b(Ljava/lang/String;)V

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/a/w;->i:Lcom/xingbook/audio/b/a;

    check-cast v1, Lcom/xingbook/audio/b/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/Object;)V

    goto :goto_0
.end method

.method public getItemViewType(I)I
    .locals 7

    const/4 v3, 0x4

    const/4 v2, 0x3

    const/4 v1, 0x1

    const/high16 v4, -0x8000

    invoke-virtual {p0, p1}, Lcom/xingbook/park/a/w;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_e

    instance-of v5, v0, Lcom/xingbook/park/b/g;

    if-eqz v5, :cond_0

    move v0, v1

    :goto_0
    if-eq v0, v4, :cond_d

    :goto_1
    return v0

    :cond_0
    instance-of v5, v0, Lcom/xingbook/park/b/f;

    if-eqz v5, :cond_3

    check-cast v0, Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->c()I

    move-result v0

    if-ne v0, v2, :cond_1

    const/16 v0, 0xc

    goto :goto_0

    :cond_1
    if-ne v0, v1, :cond_2

    const/16 v0, 0xd

    goto :goto_0

    :cond_2
    const/16 v0, 0xb

    goto :goto_0

    :cond_3
    instance-of v1, v0, Lcom/xingbook/b/n;

    if-eqz v1, :cond_e

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v0

    invoke-static {v0}, Lcom/xingbook/c/t;->e(I)Z

    move-result v1

    invoke-static {v0}, Lcom/xingbook/c/t;->g(I)I

    move-result v5

    const/16 v6, 0x30

    if-ne v0, v6, :cond_4

    const/4 v0, 0x2

    goto :goto_0

    :cond_4
    const/16 v6, 0x70

    if-ne v0, v6, :cond_5

    move v0, v2

    goto :goto_0

    :cond_5
    const/16 v2, 0x50

    if-ne v0, v2, :cond_6

    move v0, v3

    goto :goto_0

    :cond_6
    const/16 v2, 0x41

    if-ne v0, v2, :cond_7

    move v0, v3

    goto :goto_0

    :cond_7
    const/16 v2, 0x42

    if-ne v0, v2, :cond_8

    const/4 v0, 0x5

    goto :goto_0

    :cond_8
    const/16 v2, 0x60

    if-ne v5, v2, :cond_b

    if-eqz v1, :cond_9

    const/4 v0, 0x6

    goto :goto_0

    :cond_9
    const/16 v1, 0x61

    if-ne v0, v1, :cond_a

    const/4 v0, 0x7

    goto :goto_0

    :cond_a
    const/16 v1, 0x63

    if-ne v0, v1, :cond_e

    const/16 v0, 0x8

    goto :goto_0

    :cond_b
    const/16 v1, 0xc0

    if-ne v0, v1, :cond_c

    const/16 v0, 0x9

    goto :goto_0

    :cond_c
    const/16 v1, 0xd0

    if-ne v0, v1, :cond_e

    const/16 v0, 0xa

    goto :goto_0

    :cond_d
    invoke-super {p0, p1}, Lcom/xingbook/park/a/a;->getItemViewType(I)I

    move-result v0

    goto :goto_1

    :cond_e
    move v0, v4

    goto :goto_0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 8

    const/4 v4, 0x1

    const/4 v7, -0x2

    const/4 v6, -0x1

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/xingbook/park/a/w;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_1

    iget-object p2, p0, Lcom/xingbook/park/a/w;->d:Lcom/xingbook/park/c/a/o;

    :goto_0
    move-object v2, p2

    :cond_0
    return-object v2

    :cond_1
    invoke-virtual {p0, p1}, Lcom/xingbook/park/a/w;->getItemViewType(I)I

    move-result v0

    invoke-virtual {p0, p1}, Lcom/xingbook/park/a/w;->getItem(I)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_0

    packed-switch v0, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    instance-of v0, v1, Lcom/xingbook/park/b/g;

    if-eqz v0, :cond_3

    if-eqz p2, :cond_2

    instance-of v0, p2, Lcom/xingbook/park/ui/at;

    if-eqz v0, :cond_2

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/ui/at;

    check-cast v1, Lcom/xingbook/park/b/g;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/at;->setData(Lcom/xingbook/park/b/g;)V

    goto :goto_0

    :cond_2
    new-instance p2, Lcom/xingbook/park/ui/at;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    iget-object v3, p0, Lcom/xingbook/park/a/w;->j:Lcom/xingbook/park/ui/av;

    invoke-direct {p2, v0, v2, v3}, Lcom/xingbook/park/ui/at;-><init>(Landroid/content/Context;FLcom/xingbook/park/ui/av;)V

    check-cast v1, Lcom/xingbook/park/b/g;

    invoke-virtual {p2, v1}, Lcom/xingbook/park/ui/at;->setData(Lcom/xingbook/park/b/g;)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-virtual {p2}, Lcom/xingbook/park/ui/at;->getRealHeight()I

    move-result v1

    invoke-direct {v0, v6, v1}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v0}, Lcom/xingbook/park/ui/at;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    :cond_3
    move-object p2, v2

    goto :goto_0

    :pswitch_1
    instance-of v0, v1, Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_5

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_4

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_4

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_4

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto :goto_0

    :cond_4
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto :goto_0

    :cond_5
    move-object p2, v2

    goto :goto_0

    :pswitch_2
    instance-of v0, v1, Lcom/xingbook/huiben/a/a;

    if-eqz v0, :cond_7

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_6

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_6

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_6

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_6
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_7
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_3
    instance-of v0, v1, Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_9

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_8

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_8

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_8

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_8
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_9
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_4
    instance-of v0, v1, Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_b

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_a

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_a

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_a

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_a
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_b
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_5
    instance-of v0, v1, Lcom/xingbook/b/o;

    if-eqz v0, :cond_d

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_c

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_c

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_c

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_c
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_d
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_6
    instance-of v0, v1, Lcom/xingbook/cinema/b/a;

    if-eqz v0, :cond_f

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_e

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_e

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_e

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_e
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_f
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_7
    instance-of v0, v1, Lcom/xingbook/cinema/b/a;

    if-eqz v0, :cond_11

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_10

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_10

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_10

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_10
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_11
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_8
    instance-of v0, v1, Lcom/xingbook/group/a/p;

    if-eqz v0, :cond_13

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_12

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_12

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_12

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_12
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_13
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_9
    instance-of v0, v1, Lcom/xingbook/baike/b/a;

    if-eqz v0, :cond_15

    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v5

    if-eqz p2, :cond_14

    instance-of v0, p2, Lcom/xingbook/park/c/a/n;

    if-eqz v0, :cond_14

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    invoke-interface {v0}, Lcom/xingbook/park/c/a/n;->getResType()I

    move-result v0

    if-ne v0, v5, :cond_14

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/n;

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v0, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    goto/16 :goto_0

    :cond_14
    invoke-virtual {p0, v5, v4}, Lcom/xingbook/park/a/w;->a(IZ)Lcom/xingbook/park/c/a/n;

    move-result-object v2

    check-cast v1, Lcom/xingbook/b/n;

    invoke-interface {v2, v1, v5, v3}, Lcom/xingbook/park/c/a/n;->a(Lcom/xingbook/b/n;IZ)V

    move-object v0, v2

    check-cast v0, Landroid/view/View;

    new-instance v1, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v1, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    check-cast v2, Landroid/view/View;

    move-object p2, v2

    goto/16 :goto_0

    :cond_15
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_a
    instance-of v0, v1, Lcom/xingbook/park/b/f;

    if-eqz v0, :cond_19

    move-object v0, v1

    check-cast v0, Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->c()I

    move-result v0

    if-nez v0, :cond_19

    if-eqz p1, :cond_17

    if-lez p1, :cond_16

    add-int/lit8 v0, p1, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/park/a/w;->getItemViewType(I)I

    move-result v0

    if-eq v0, v4, :cond_17

    :cond_16
    move v2, v3

    :goto_1
    if-eqz p2, :cond_18

    instance-of v0, p2, Lcom/xingbook/park/c/a/t;

    if-eqz v0, :cond_18

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/t;

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/c/a/t;->a(Lcom/xingbook/park/b/f;Z)V

    goto/16 :goto_0

    :cond_17
    move v2, v4

    goto :goto_1

    :cond_18
    new-instance p2, Lcom/xingbook/park/c/a/t;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v3, p0, Lcom/xingbook/park/a/w;->a:F

    new-instance v4, Lcom/xingbook/park/a/x;

    invoke-direct {v4, p0}, Lcom/xingbook/park/a/x;-><init>(Lcom/xingbook/park/a/w;)V

    invoke-direct {p2, v0, v3, v4}, Lcom/xingbook/park/c/a/t;-><init>(Landroid/app/Activity;FLcom/xingbook/park/c/a/m;)V

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {p2, v1, v2}, Lcom/xingbook/park/c/a/t;->a(Lcom/xingbook/park/b/f;Z)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v0}, Lcom/xingbook/park/c/a/t;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_0

    :cond_19
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_b
    instance-of v0, v1, Lcom/xingbook/park/b/f;

    if-eqz v0, :cond_1b

    move-object v0, v1

    check-cast v0, Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->c()I

    move-result v0

    const/4 v3, 0x3

    if-ne v0, v3, :cond_1b

    if-eqz p2, :cond_1a

    instance-of v0, p2, Lcom/xingbook/park/c/a/q;

    if-eqz v0, :cond_1a

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/q;

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/q;->setData(Lcom/xingbook/park/b/f;)V

    goto/16 :goto_0

    :cond_1a
    new-instance p2, Lcom/xingbook/park/c/a/q;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    invoke-direct {p2, v0, v2}, Lcom/xingbook/park/c/a/q;-><init>(Landroid/app/Activity;F)V

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {p2, v1}, Lcom/xingbook/park/c/a/q;->setData(Lcom/xingbook/park/b/f;)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v0}, Lcom/xingbook/park/c/a/q;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_0

    :cond_1b
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_c
    instance-of v0, v1, Lcom/xingbook/park/b/f;

    if-eqz v0, :cond_1d

    move-object v0, v1

    check-cast v0, Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->c()I

    move-result v0

    if-ne v0, v4, :cond_1d

    if-eqz p2, :cond_1c

    instance-of v0, p2, Lcom/xingbook/park/c/a/r;

    if-eqz v0, :cond_1c

    move-object v0, p2

    check-cast v0, Lcom/xingbook/park/c/a/r;

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/r;->setData(Lcom/xingbook/park/b/f;)V

    goto/16 :goto_0

    :cond_1c
    new-instance p2, Lcom/xingbook/park/c/a/r;

    iget-object v0, p0, Lcom/xingbook/park/a/w;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/park/a/w;->a:F

    new-instance v3, Lcom/xingbook/park/a/y;

    invoke-direct {v3, p0}, Lcom/xingbook/park/a/y;-><init>(Lcom/xingbook/park/a/w;)V

    invoke-direct {p2, v0, v2, v3}, Lcom/xingbook/park/c/a/r;-><init>(Landroid/app/Activity;FLcom/xingbook/park/c/a/m;)V

    check-cast v1, Lcom/xingbook/park/b/f;

    invoke-virtual {p2, v1}, Lcom/xingbook/park/c/a/r;->setData(Lcom/xingbook/park/b/f;)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v7}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v0}, Lcom/xingbook/park/c/a/r;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_0

    :cond_1d
    move-object p2, v2

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
    .end packed-switch
.end method
